<?php
/**************************************************************************************************
|
| AudioShare - Audio Sharing Script
| http://www.audiosharescript.com
| webmaster@audiosharescript.com
|
|**************************************************************************************************
|
| By using this software you agree that you have read and acknowledged our End-User License 
| Agreement available at http://www.audiosharescript.com/eula.html and to be bound by it.
|
| Copyright (c) 2010 AudioShareScript.com. All rights reserved.
|**************************************************************************************************/

include("include/config.php");
include("include/functions/import.php");

header("Content-Type: text/xml"); 
header("Expires: 0"); 
print "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";

$arr=explode("-",$_REQUEST['audioid']);

$AUDIOID =$arr[0]; //intval($_REQUEST['audioid']);
$category=$arr[1];
$audioyear=$arr[2];

print "<xml>\n";
$baseurl = $config['baseurl'];
//$audioyear = intval($_REQUEST['audio_year']);
$aurl = $baseurl."/adata/".$category."/".$audioyear."/".$AUDIOID.".mp3";
print "<mp3>$aurl</mp3>\n";
print "</xml>"; 
?>